package lambda;

public class Binds {

	String name;
	Object val;
	Binds next;
	Binds(String n,Object v,Binds ne) {
		name = n;
		val = v;
		next = ne;
	}
	Object get(String n) {
		if (name.equals(n))
			return val;
		if (next==null)
			return null;
		return next.get(n);
	}
}
